package com.it.service.goods;

import com.it.enity.pageResult;
import com.it.goods.TbBrand;

import java.util.List;
import java.util.Map;

/**
 * @author zhangyan
 * @version 1.0
 * @date 2019/7/8 19:17
 */

public interface brandservice {

    List<TbBrand> findAll();

    pageResult findbypage(int startpage, int size);

    List<TbBrand> findlist(Map<String, Object> map);

    pageResult findpage(Map<String, Object> map, int startpage, int size);

    TbBrand findById(Integer id);

    void add(TbBrand brand);

    void update(TbBrand brand);

    void delete(Integer id);
}
